package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 企业诊断文件对象 sys_company_file
 * 
 * @author ruoyi
 * @date 2023-06-14
 */
@ApiModel(value="企业诊断文件")
public class SysCompanyFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 企业文件id */
    @ApiModelProperty(value="企业文件id")
    private Long fileId;

    /** 企业id */
    @Excel(name = "企业id")
    @ApiModelProperty(value="企业id")
    private Long deptId;

    /** 文件列表（json） */
    @Excel(name = "文件列表", readConverterExp = "json")
    @ApiModelProperty(value="文件列表（json）")
    private String fileList;

    /** 完成日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "完成日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value="完成日期")
    private Date finishDate;

    /** 工作节点 */
    @Excel(name = "工作节点")
    @ApiModelProperty(value="工作节点")
    private String workNote;

    /** 节点状态 */
    @Excel(name = "节点状态")
    @ApiModelProperty(value="节点状态")
    private String noteStatus;

    /** 审核人id */
    @Excel(name = "审核人id")
    @ApiModelProperty(value="审核人id")
    private Long checkorId;

    /** 未通过理由 */
    @Excel(name = "未通过理由")
    @ApiModelProperty(value="未通过理由")
    private String reason;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    @ApiModelProperty(value="审核人")
    private String checkor;

    public void setFileId(Long fileId) 
    {
        this.fileId = fileId;
    }

    public Long getFileId() 
    {
        return fileId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setFileList(String fileList) 
    {
        this.fileList = fileList;
    }

    public String getFileList() 
    {
        return fileList;
    }
    public void setFinishDate(Date finishDate) 
    {
        this.finishDate = finishDate;
    }

    public Date getFinishDate() 
    {
        return finishDate;
    }
    public void setWorkNote(String workNote) 
    {
        this.workNote = workNote;
    }

    public String getWorkNote() 
    {
        return workNote;
    }
    public void setNoteStatus(String noteStatus) 
    {
        this.noteStatus = noteStatus;
    }

    public String getNoteStatus() 
    {
        return noteStatus;
    }
    public void setCheckorId(Long checkorId) 
    {
        this.checkorId = checkorId;
    }

    public Long getCheckorId() 
    {
        return checkorId;
    }
    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public String getCheckor() {
        return checkor;
    }

    public void setCheckor(String checkor) {
        this.checkor = checkor;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fileId", getFileId())
            .append("deptId", getDeptId())
            .append("fileList", getFileList())
            .append("finishDate", getFinishDate())
            .append("workNote", getWorkNote())
            .append("noteStatus", getNoteStatus())
            .append("checkorId", getCheckorId())
            .append("reason", getReason())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
